﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Rated.Website.Exceptions;
using Rated.DAL.Db;

namespace Rated.Website.Models
{
    public class RatedItemAttributeViewModel
    {
        public RatedItem Item { get; private set; }
        public AttributeType AttributeType { get; private set; }
        public RatedItemAttributeViewModel()
        {
            throw new EIncorrectConstructor();
        }

        public RatedItemAttributeViewModel(RatedItem item, AttributeType attributeType)
        {
            Item = item;
            AttributeType = attributeType;
            

        }

    }
}